Required

data class Required(val supportedEncryptionAlgorithms: List<JWEAlgorithm>, val supportedEncryptionMethods: List<EncryptionMethod>, val ephemeralEncryptionKeyCurve: Curve) : EncryptionRequirement(source)

Encryption is required.

Constructors

Link copied to clipboard
constructor(supportedEncryptionAlgorithms: List<JWEAlgorithm>, supportedEncryptionMethods: List<EncryptionMethod>, ephemeralEncryptionKeyCurve: Curve)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the Curve to use for generating the ephemeral encryption key

Link copied to clipboard

encryption algorithms supported by the Wallet, only asymmetric JWEAlgorithms are supported

Link copied to clipboard
val supportedEncryptionMethods: List<EncryptionMethod>

encryption methods supported by the Wallet, EncryptionMethod.XC20P requires the usage of com.google.crypto.tink:tink